Removed unnecessary cast