small changes and phaser fix