Fixed small bug in none hardware module

Fixed small bug in none hardware module