add rotation and alpha
minor fix