Fixed bug that spawned new instances after each deploy