Fix bugs on input and implemented bs for propfile