fixing multiple preffixes bug.