replaced bind to name attr to id