fixed table naming issue