Added the 'LIMIT 1' to some querys