fixed integer issue