PP:removed redundant cast