fixed bug in appbuilder