fixes for input size, still needs work