coffee scripts fixed