fixed rotation and nsd for good