Fixed bug in placeholder generator