It works when excluding the appropriate line of code.