fix compile error
move brick-object references to parser
fixes iOS8 program bug