modify the type of value got from getProperty()