FIXED: reference on non-object