bugfixing of add and delete map admin functions, mainly with coding and
database structure