fixed bug, cleaned query, changed mod_info