fixed crash for relative layout
test for fix