use lowercase tablename thanks to christianbaer