fixed fatal error where string was evaluated as int