fixed table problems