fixing table on ap view