fix detail layout