Removed unwanted cast
Code style fix