Fixed as per dobi sir's comments