fixed alignment  bug on show view