floor and ceiling parameter binding problem fixed