remove uncessary check