fix a bug about layout path