Fixed bug

When .pm-step is used on an input element directly, it stops working and returns an error. Fixed that.