Saving counter entity fixed