Fix bug in galaxy